import React from 'react';
import { Icon } from './base';

/**
 * &#xe746; 分类展示
 *
 * @export
 * @class IconCategoryBag
 * @extends {Icon}
 */
export default class IconCategoryBag extends Icon {
    static defaultProps = {
        ...Icon.defaultProps,
        color: '#707070',
    };

    render() {
        const { color, className, style } = this.props;

        const { width, height } = this.getSize();

        return (
            <svg viewBox="0 0 1024 1024" width={width} height={height} style={style} className={className}>
                <path
                    d="M243.809524 309.22361934a43.885714 43.885714 0 0 0-43.885714 43.885714V883.80952334a43.885714 43.885714 0 0 0 43.885714 43.885715h530.70019a43.885714 43.885714 0 0 0 43.885715-43.885715V353.10933334a43.885714 43.885714 0 0 0-43.885715-43.885714H243.809524z m0-53.638096h530.70019a97.52381 97.52381 0 0 1 97.52381 97.52381V883.80952334a97.52381 97.52381 0 0 1-97.52381 97.52381H243.809524a97.52381 97.52381 0 0 1-97.52381-97.52381V353.10933334a97.52381 97.52381 0 0 1 97.52381-97.52381z"
                    fill={color}
                />
                <path
                    d="M705.097143 352.88990434a48.761905 48.761905 0 1 1-53.979429 6.119619c10.48381-206.506667-38.229333-301.714286-141.945904-301.714285-103.009524 0-151.747048 93.866667-142.165334 297.447619A48.737524 48.737524 0 0 1 341.333333 444.95238134a48.761905 48.761905 0 0 1-27.940571-88.746667c-10.435048-229.766095 53.467429-352.548571 195.779048-352.548571 141.604571 0 205.58019 121.58781 195.925333 349.232761z"
                    fill={color}
                />
                <path
                    d="M556.934095 703.70742834l-109.275428-106.959238-137.874286 73.630476a27.477333 27.477333 0 0 1-34.255238 0 22.820571 22.820571 0 0 1 0-33.523809l149.308952-84.796953c13.04381-12.775619 32.597333-12.775619 44.032 0l107.617524 106.959239 137.752381-73.484191a23.990857 23.990857 0 0 1 34.230857 0 22.820571 22.820571 0 0 1 0 33.52381l-149.138286 84.650666c-9.801143 11.166476-30.98819 11.166476-42.422857 0z"
                    fill={color}
                />
            </svg>
        );
    }
}
